package com.forenow.demo.Book;

public class Test {
    public  void ShowAll(){
        NoteBook noteBook=new NoteBook('b',1001);
        char color=noteBook.getColor();
        int cpu=noteBook.getCpu();
        System.out.println("颜色"+color+"----"+"cpu"+cpu);
    }
    public static void main(String[] args) {
        NoteBook noteBook=new NoteBook('b',1001);
        Test test=new Test();
        test.ShowAll();
    }
}
